package com.mark.maven.dao;

import com.mark.maven.domain.User;
import org.springframework.stereotype.Service;

@Service
public class UserDaoCache {
    public User getUser(Long id) {
        return User.builder()
                .id(id)
                .name("cache")
                .age(18)
                .sex("男")
                .address("北京")
                .build();
    }
}
